<?php /* Smarty version Smarty 3.1.0, created on 2024-11-02 15:07:20
         compiled from "D:\3lzy\svn\www.uri.com/static/tpl\admin\menu_list.html" */ ?>
<?php /*%%SmartyHeaderCode:4986725cfa804eb73-44983871%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3e8d24d84b8b1785eca4016a702914f8d5410ce0' => 
    array (
      0 => 'D:\\3lzy\\svn\\www.uri.com/static/tpl\\admin\\menu_list.html',
      1 => 1727590703,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4986725cfa804eb73-44983871',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'parentmenu' => 0,
    'pval' => 0,
    'menu' => 0,
    'sval' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty 3.1.0',
  'unifunc' => 'content_6725cfa80e6c6',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6725cfa80e6c6')) {function content_6725cfa80e6c6($_smarty_tpl) {?><link href="/static/js/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="/static/js/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css" />
<body>
<div class="container-fluid">
	<div class="page-header" style="margin: 20px 0 20px;">
	    <span style="margin:0 0 20px 10px;">当前位置：权限项列表 </span>
	    <a style="position: relative;float: right;margin: 0 50px 20px 0;" href="?g=menu&r=adMenu/addpage">添加权限项</a>
	</div>
    <table class="table table-hover table-condensed">
    <thead>
      <tr>
        <th width="20%" >&nbsp;&nbsp;项目名称</th>
        <th width="20%" >&nbsp;&nbsp;操作KEY</th>
        <th width="10%" >&nbsp;&nbsp;权限项类型</th>
        <th width="35%" >&nbsp;&nbsp;动作</th>
        <th width="15%" >操作</th>
      </tr>
     </thead>
     <tbody>
      <?php if (!empty($_smarty_tpl->tpl_vars['parentmenu']->value)){?>
      <?php  $_smarty_tpl->tpl_vars['pval'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['parentmenu']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['pval']->key => $_smarty_tpl->tpl_vars['pval']->value){
$_loop = true;
?>
       <tr>
          <td height="30" >&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['pval']->value["name"];?>
</td>
          <td height="30" ><?php echo $_smarty_tpl->tpl_vars['pval']->value["action_key"];?>
</td>
          <td height="30" ><?php if ($_smarty_tpl->tpl_vars['pval']->value["type"]==1){?>菜单权限<?php }else{ ?>操作权限<?php }?></td>
          <td height="30" ><?php echo $_smarty_tpl->tpl_vars['pval']->value["action"];?>
</td>
          <td >
              <a href="?g=menu&r=adMenu/addpage&menuid=<?php echo $_smarty_tpl->tpl_vars['pval']->value["menuid"];?>
">编辑</a>
              <!-- <a href="#">删除</a> -->
          </td>
       </tr>
       <?php if (key_exists($_smarty_tpl->tpl_vars['pval']->value['menuid'],$_smarty_tpl->tpl_vars['menu']->value)){?>
       <?php  $_smarty_tpl->tpl_vars['sval'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['menu']->value[$_smarty_tpl->tpl_vars['pval']->value["menuid"]]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['sval']->key => $_smarty_tpl->tpl_vars['sval']->value){
$_loop = true;
?>
        <tr>
          <td height="30" >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;┗ <?php echo $_smarty_tpl->tpl_vars['sval']->value["name"];?>
</td>
          <td height="30" ><?php echo $_smarty_tpl->tpl_vars['sval']->value["action_key"];?>
</td>
          <td height="30" ><?php if ($_smarty_tpl->tpl_vars['sval']->value["type"]==1){?>菜单权限<?php }else{ ?>操作权限<?php }?></td>
          <td height="30" ><?php echo $_smarty_tpl->tpl_vars['sval']->value["action"];?>
</td>
          <td >
             <a href="?g=menu&r=adMenu/addpage&menuid=<?php echo $_smarty_tpl->tpl_vars['sval']->value["menuid"];?>
">编辑</a>
              <!-- <a href="#">删除</a> -->
          </td>
       </tr>
       <?php } ?>
       <?php }?>
      <?php } ?>
      <?php }?>
      </tbody>
    </table>
</div>
</body><?php }} ?>